<div ng-include="sys_html('home/_header',true,true)"></div>
<style>
body {background: #f2f2f2;}
.list {position:relative;margin-bottom:20px}
</style>
<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true">
	<div class="carousel-inner" role="listbox" style="height:300px">
		<div class="item active">
			<a href="#">
				<img src="../core/resource/images/banner-380.jpg" style="display: block; width: 100%; height: auto;"/>
			</a>
		</div>
	</div>
</div>
<div class="container-index" style="background:#fff">
	<div class="row margin0">
	<div class="news">
        <div class="left">
             <a ng-repeat="item in pagedata.groups" href="./index.php?plugin=core&action=home.news&type={{pagedata.type}}&id={{item.id}}">{{item.title}} <i class="fa fa-angle-double-right pull-right" style="padding-top:2px"></i></a>
        </div>
        <div class="right" ng-if="pagedata.op=='list'">
			 <div class="list" ng-repeat="item in pagedata.list">
               <h4><span class="bold">{{item.title}}</span> <span class="pull-right times">{{item.createtime}}</span></h4>
               <p>{{item.desc}}... ...<a class="t-l" href="./index.php?plugin=core&action=home.news&op=detail&id={{item.id}}" > 点击详情 »</a></p>
			 </div>
			 <div ng-include="sys_html('common/page',true)"></div>
        </div>
		<div class="right" ng-if="pagedata.op=='detail'">
			 <div class="list">
				 <h4>{{pagedata.new.title}} <span class="pull-right times">{{pagedata.new.createtime}}</span></h4>
               <p ng-bind-html="trust(pagedata.new.content)"></p>
			 </div>
        </div>
    </div>
	</div>
</div>
<div ng-include="sys_html('home/_footer',true,true)"></div>